#ifndef __EPOLLS_H__
#define __EPOLLS_H__

#include <sys/epoll.h>

typedef int EPOLL_FD;
#define MAX_FD_SETSIZE    (1024)

int epoll_creates(int max);
int epoll_ops(int ep_fd, int ep_func, int sock_fd, struct epoll_event *ev);
int epoll_loops(int ep_fd, struct epoll_event *evs, int ev_nums, int tm_out);

#endif
